Add class toolbar before the style context is created for the widget.
authorMarco Brito <bcaza@null.net>
Sat, 30 Nov 2013 11:36:00 +0000 (11:36 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 1 Dec 2013 22:20:30 +0000 (17:20 -0500)
commitd31f3e57669adcb2cf8139fa5025a4c5c7437719
treeadf246cbf330d6320fd2d9a6f49d5f01dcf7939f
parentcc3c737088e3ac2be323cbcbfeb3a57551d14adf
Add class toolbar before the style context is created for the widget.

The call to gtk_button_set_relief() in gtk_toolbar_init() indirectly
used the style context of the half-created widget, before we had a
chance to add the "toolbar" style class to it.

Reorder gtk_toolbar_init() to ensure that the proper style class is
set first.

https://bugzilla.gnome.org/show_bug.cgi?id=719595
gtk/gtktoolbar.c